﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using 个人博客.SqlViews;

namespace 个人博客.instrumentClass
{
    //页面跳转
    public class sidebarSkip
    {
        public string Skip(string name) {
            using (var db = new Model1())
            {
                var list = db.Blogs_page.FirstOrDefault(u => u.pag_name_CH == name);
                return list.pag_name_file;
            }
        }
    }
}